package com.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yeyuan
 * @since 2021-12-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Evaluation对象", description="")
public class Evaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课程id")
    @TableField(value = "c_id")
    private Long cId;

    @ApiModelProperty(value = "评价者")
    private String evaluator;

    @ApiModelProperty(value = "考勤频率")
    private String checkIn;

    @ApiModelProperty(value = "期末打分")
    private String mark;

    @ApiModelProperty(value = "考核方式")
    private String evaMode;

    @ApiModelProperty(value = "评价内容")
    private String comment;

    @ApiModelProperty(value = "点赞数量")
    private Integer likes;

    @ApiModelProperty(value = "审核状态")
    private String status;

    @ApiModelProperty(value = "综合评分")
    @TableField(value = "eva_level")
    private String evaLevel;


}
